import React from 'react';

class Message extends React.Component<
    { message: string; },
    { count: number }> {
    constructor(props) {
        super(props);
        this.state = {
            count: 0
        }
    }

    public render(){
        return (
            <div>
                {this.props.message}
                {this.state.count}
            </div>
        )
    }
}

export default Message;